#include<stdio.h>//中国有句俗语叫三天打鱼两天晒网，那么经过N天后这个人是在打鱼还是在晒网？
int main(void)
{
    int day,i;
    scanf("%d",&day);//输入天数  N<=1000
    
    if(day%5<=3&&day%5!=0)
    printf("Fishing in day %d",day);
    else
    printf("Dring in day %d",day);
    return 0;
}